Updating useState without inserting another object